home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / gfa / gfacode.arc / PATH.LST < prev    next >
Encoding:
File List  |  1990-11-14  |  587 b   |  14 lines

  1. '  Determines current directory path
  2. '
  3. '  Don't expect your program and resource files to be in a certain
  4. '  directory!  Use this to see where the user has placed your
  5. '  program, then look for your resource files in the same path.
  6. '  Also, don't assume that the user wants to save or load a file
  7. '  from drive A:  I find it very irritating when I run a program
  8. '  from the hard drive, and it immediately looks for something
  9. '  in drive A:  I have nothing in drive A: so I get a "Drive does
  10. '  not respond" error.  AARRGHHH! :(
  11. '
  12. path$=CHR$(GEMDOS(25)+65)+":"+DIR$(0)+"\"
  13. '
  14.